package cn.zymall.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "merchants_role")
public class MerchantsRole extends BaseEntity implements Serializable {
    /**
     * 角色编号
     */
    @TableId(value = "MERCHANTS_ROLE_ID", type = IdType.AUTO)
    private Integer merchantsRoleId;

    /**
     * 角色名称
     */
    @TableField(value = "MERCHANTS_ROLE_NAME")
    private Integer merchantsRoleName;

    /**
     * 创建时间
     */
    @TableField(value = "CREATION_TIME")
    private Date creationTime;

    /**
     * 创建者编号
     */
    @TableField(value = "CREATOR_ID")
    private Integer creatorId;

    /**
     * 更新人
     */
    @TableField(value = "UPDATE_BY")
    private Integer updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATE_TIME")
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public static final String COL_MERCHANTS_ROLE_ID = "MERCHANTS_ROLE_ID";

    public static final String COL_MERCHANTS_ROLE_NAME = "MERCHANTS_ROLE_NAME";

    public static final String COL_CREATION_TIME = "CREATION_TIME";

    public static final String COL_CREATOR_ID = "CREATOR_ID";

    public static final String COL_UPDATE_BY = "UPDATE_BY";

    public static final String COL_UPDATE_TIME = "UPDATE_TIME";
}